'use strict';

var commonModels = angular.module('commonModels');

commonModels.factory('EventOpt', ['$resource', 'Constant', function($resource, Constant){
    return $resource(Constant.ApiPath + 'eventOpt/:action', {}, {
        opt: {method:'GET', params:{action: true, subId: true}}
    });
}]);
commonModels.factory('Event', ['$resource', 'Constant', function($resource, Constant){
    return $resource(Constant.ApiPath + 'event/:eventId', {eventId:'@id'}, {

    });
}]);
